home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 173 / 173.xpi / chrome / gm-notifier.jar / content / gm-notifier / gm-notifier.xml < prev    next >
Extensible Markup Language  |  2009-09-28  |  3KB  |  69 lines

  1. <?xml version="1.0"?>
  2. <bindings xmlns="http://www.mozilla.org/xbl"
  3.           xmlns:xbl="http://www.mozilla.org/xbl"
  4.           xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  5.  
  6.   <!-- Logged out toolbar layout -->
  7.   <binding id="toolbarbutton-logged-out"
  8.            extends="chrome://global/content/bindings/button.xml#button-base">
  9.     <resources>
  10.       <stylesheet src="chrome://global/skin/toolbarbutton.css"/>
  11.     </resources>
  12.     <content>
  13.        <xul:toolbarbutton class="box-inherit" style="padding-right:0px;"
  14.                           anonid="button" flex="1" allowevents="true"
  15.                           tooltip="gm-notifier-tooltip"
  16.                           xbl:inherits="disabled,crop,image,label,accesskey,command,align,dir,pack,orient,toolbarmode,buttonstyle"/>
  17.       <children />
  18.     </content>
  19.   </binding>
  20.  
  21.   <binding id="toolbarbutton-base" display="xul:button"
  22.            extends="chrome://global/content/bindings/button.xml#button-base">
  23.     <resources>
  24.       <stylesheet src="chrome://global/skin/toolbarbutton.css"/>
  25.     </resources>
  26.     <content>
  27.         <xul:vbox align="center">
  28.           <xul:hbox id="gm-notifier-toolbar-hbox" align="center">
  29.             <xul:image class="toolbarbutton-icon" style="margin:0px; padding:0px;"/>
  30.             <xul:stack id="gm-notifier-toolbar-stack" collapsed="false"
  31.                        style="padding:0px; margin:0px;">
  32.               <xul:label xbl:inherits="value=unread" top="-7" left="2"
  33.                          style="font-size:10px; padding:0px; margin:0px;"/>
  34.             </xul:stack>
  35.           </xul:hbox>
  36.           <xul:label class="toolbarbutton-text" crop="right" flex="1"
  37.                      xbl:inherits="value=label,accesskey,crop,toolbarmode,buttonstyle"/>
  38.         </xul:vbox>
  39.       <children />
  40.     </content>
  41.   </binding>
  42.  
  43.   <binding id="menu-button" display="xul:menu" 
  44.            extends="chrome://global/content/bindings/button.xml#menu-button-base">
  45.     <resources>
  46.       <stylesheet src="chrome://global/skin/toolbarbutton.css"/>
  47.     </resources>
  48.  
  49.     <content>
  50.       <children includes="observes|template|menupopup|tooltip"/>
  51.       <xul:toolbarbutton class="box-inherit toolbarbutton-menubutton-button"
  52.                          anonid="button" flex="1" allowevents="true"
  53.                          tooltip="gm-notifier-tooltip"
  54.                          xbl:inherits="unread,disabled,crop,image,label,accesskey,command,
  55.                                        align,dir,pack,orient,toolbarmode,buttonstyle"/>
  56.       <xul:dropmarker type="menu-button" class="toolbarbutton-menubutton-dropmarker"
  57.                       xbl:inherits="align,dir,pack,orient,disabled,toolbarmode,buttonstyle"/>
  58.     </content>
  59.   </binding>
  60.  
  61.   <binding id="statusbarpanel-iconic-text" display="xul:button" extends="">
  62.     <content>
  63.       <xul:image class="statusbarpanel-icon" xbl:inherits="src"/>
  64.       <xul:label class="statusbarpanel-text" xbl:inherits="value=label,crop"/>
  65.     </content>
  66.   </binding>
  67. </bindings>
  68.  
  69.